export const titles = {
	id: '编号',// id
	userId: '个体用户',// userId
	userName: '个体用户名',// userName
	unityId: '监管单位',// unityId
	unityName: '所属单位名称',// unityName
	familyId: '所属家庭',// familyId
	familyName: '家庭名称',// familyName
	deviceIds: '授权设备',// deviceIds
	superviseUnityId: '监管单位',// superviseUnityId
	superviseUnityName: '监管单位名称',// superviseUnityName
	city: '所在城市',// city
	phone: '联系电话',// phone
	updatedAt: '更新时间',// updatedAt
	action: '操作',

	deviceId: '设备编号',
	productName: '产品名称',
	deviceSN: '设备序列号'
}
export const prompt = {
	id: '请输入' + titles.id,
	userId: '请选择' + titles.userId,
	userName: '请选择' + titles.userName,
	unityId: '请选择' + titles.unityId,
	unityName: '请选择' + titles.unityName,
	familyId: '请选择' + titles.familyId,
	familyName: '请选择' + titles.familyName,
	deviceIds: '请选择' + titles.deviceIds,
	superviseUnityId: '请选择' + titles.superviseUnityId,
	superviseUnityName: '请选择' + titles.superviseUnityName,
	city: '请选择' + titles.city,
	phone: '请输入' + titles.phone,
	updatedAt: '请选择' + titles.updatedAt,
}
export const defaultSearchForm = () => {
	return {
		familyName: '',// 家庭名称
		unityName: '',// 所属单位名称
		userName: '',// 个体用户名
		page: 1,
		limit: 10,
	}
}
export const defaultInfoForm = () => {
	return {
		id: null,// id
		userId: null,// userId
		userName: null,// userName
		unityId: null,// unityId
		unityName: null,// unityName
		familyId: null,// familyId
		familyName: null,// familyName
		deviceIds: [],// deviceIds
		devices: [],
		superviseUnityId: null,// superviseUnityId
		superviseUnityName: null,// superviseUnityName
		city: null,// city
		phone: null,// phone
		updatedAt: null,// updatedAt
	}
}
